/**
 * 页面对象
 */
;(function(undefined) {
    "use strict"
    var _page;
   function Page(opt){
        this._initial(opt);
    }
    Page.prototype = {
        constructor: this,
        commons:[],//组件对象
        _initial: function(opt) {
            //配制参数
            var config = {
                title:'',
                pageId:'',
                navigationBarBackgroundColor:'#00000',//导航栏背景颜色，如"#000000"
                navigationBarTextStyle:'white',//导航栏标题颜色，仅支持 black/white
            };
            this.config = Utils.extend(config,opt,true); //配置参数
         }
    }

    // 最后将插件对象暴露给全局对象
    _page = (function(){ return this || (0, eval)('this'); }());
    if (typeof module !== "undefined" && module.exports) {
        module.exports = Page;
    } else if (typeof define === "function" && define.amd) {
        define(function(){return Page;});
    } else {
        !('Page' in _page) && (_page.Page = Page);
    }
}());